import request from '@/utils/request'
// 查询 列表
export function listMember(query) {
    return request({
        url: '/dts/dtsUser/list',
        method: 'get',
        params: query
    })
}

// 查询 详细
export function getMember(id) {
    return request({
        url: '/dts/dtsUser/' + id,
        method: 'get'
    })
}

// 新增 
export function addMember(data) {
    return request({
        url: '/dts/dtsUser',
        method: 'post',
        data: data
    })
}

// 修改 
export function updateMember(data) {
    return request({
        url: '/dts/dtsUser',
        method: 'put',
        data: data
    })
}

// 删除 
export function delMember(id) {
    return request({
        url: '/dts/dtsUser/' + id,
        method: 'delete'
    })
}

// 查询 详细
export function getPerson(id) {
    return request({
        url: '/dts/dtsUserInfo/' + id,
        method: 'get'
    })
}

// 查询 相册
export function listAlbum(query) {
    return request({
        url: '/dts/dtsUserImg/list',
        method: 'get',
        params: query
    })
}